Topic 1 Question #5
You manage a team of data scientists who use a cloud-based backend system to submit training jobs. This system has become very difficult to administer, and you want to use a managed service instead. The data scientists you work with use many different frameworks, including Keras, PyTorch, theano, Scikit-learn, and custom libraries. What should you do?
- A.
Use the AI Platform custom containers feature to receive training jobs using any framework.
- B.
Configure Kubeflow to run on Google Kubernetes Engine and receive training jobs through TF Job.
- C.
Create a library of VM images on Compute Engine, and publish these images on a centralized repository.
- D.
Set up Slurm workload manager to receive jobs that can be scheduled to run on your cloud infrastructure.
Answer: A
This scenario has two core requirements: first, replace a high-administration overhead custom training backend with a fully managed service to reduce operational burden, and second, support a diverse set of ML frameworks including Keras, PyTorch, Theano, Scikit-learn, and custom internal libraries. The suggested answer aligns with Professional Machine Learning Engineer domain knowledge of managed ML service selection, as it addresses both requirements simultaneously. AI Platform custom containers is a fully managed training service that eliminates the need for teams to administer underlying compute clusters, job scheduling, or infrastructure patching, resolving the administrative pain point. The custom container functionality lets users package any required dependencies, frameworks, or custom code into a standard Docker container, ensuring full compatibility with all tools used by the data science team without requiring pre-built environment support from the service.
Option Analysis:
A. Correct. AI Platform custom containers is a fully managed ML training service that supports any framework or custom library by allowing users to package their entire training environment into a Docker container. This eliminates the need to administer underlying training infrastructure, directly resolving the administrative burden stated in the scenario, while supporting all the heterogeneous frameworks used by the data science team.
B. Incorrect. Kubeflow running on GKE is not a fully managed service, as teams are still responsible for administering the GKE cluster, Kubeflow control plane, and custom job resources. Additionally, TFJob is a Kubeflow custom resource designed specifically for TensorFlow training jobs, and does not natively support all the listed frameworks without additional custom configuration, which increases administrative overhead rather than reducing it.
C. Incorrect. Custom VM images on Compute Engine require teams to manually manage VM provisioning, autoscaling, job scheduling, and infrastructure lifecycle, which is not a managed service and increases rather than reduces administrative workload. This does not address the core problem of difficult system administration.
D. Incorrect. Slurm is an open-source workload manager that requires manual setup, configuration, and ongoing administration of the underlying compute infrastructure. It is not a managed cloud service, so it does not resolve the administrative pain point outlined in the scenario.
Key Concepts:
1. Managed ML Training Services: These are cloud services that abstract away underlying infrastructure administration tasks including cluster provisioning, job scheduling, patching, and autoscaling, reducing operational overhead for data science teams and allowing them to focus on model development rather than infrastructure management.
2. Custom Container Support for ML Training: Custom container functionality in managed ML services enables users to package arbitrary ML frameworks, dependencies, and custom code into portable Docker containers, eliminating constraints from pre-built service environments and ensuring compatibility with any ML stack used by a team.
3. ML Service Selection Criteria: Core criteria for selecting ML training services include level of service management, framework compatibility, operational overhead, and alignment with existing team workflows to meet stated business and technical requirements.
References:
AI Platform Training Custom Containers Documentation,
https://cloud.google.com/ai-platform/training/docs/custom-containers-training
Google Cloud Professional Machine Learning Engineer Exam Guide,
https://cloud.google.com/certification/guides/machine-learning-engineer